//  这是猜你喜欢数据渲染
shopCat(function(data){
    var div=document.querySelector(".shopCat .footer");
    var cat=data.shop;
    var html=""
    cat.forEach(function(item){
        html += `
        <div class="listclear">
        <div class="one">
            <div class="img">
                <img src="${item.src}" alt="">
            </div>
            <div class="text">
                <h2 class="elli2">${item.titl2}</h2>
                <p>
                    <strong class="red">
                        <b> ${item.titl3}</b>
                    </strong>
                </p>
            </div>
            <div class="btn">
                <a href="javascript:;"></a>
            </div>
        </div>
    </div>
        `
        div.innerHTML = html;
        add()
     });  
})
